package com.spring.shiro.ext;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 登陸成功后指定还回内容
 */
public interface AuthExtSuccessRedirectService {
    /**
     * 登陆成功后指定还回 内容
     * @param request
     * @param response
     */
    public void successInvoke(HttpServletRequest request, HttpServletResponse response);

    /**
     * 登陆失败操作
     * @param request
     * @param response
     */
    public void failInvoke(HttpServletRequest request, HttpServletResponse response);


    /**
     * 退出操作
     * @param request
     * @param response
     */
    public void loginOutInvoke(HttpServletRequest request, HttpServletResponse response);
}
